package cn.wolfcode.wolf2w.business.api.domain;


import lombok.Data;

import javax.persistence.Column;
import java.util.Date;


@Data
public class StrategyCanal {

    private Long id;
    @Column(name = "dest_id")
    private Long destId;
    @Column(name = "dest_name")
    private String destName;
    @Column(name = "theme_id")
    private Long themeId;
    @Column(name = "theme_name")
    private String themeName;
    @Column(name = "catalog_id")
    private Long catalogId;
    @Column(name = "catalog_name")
    private String catalogName;

    private String title;
    @Column(name = "sub_title")
    private String subTitle;

    private String summary;
    @Column(name = "cover_url")
    private String coverUrl;

    private Long isabroad;

    private Long viewnum;

    private Long replynum;

    private Long favornum;

    private Long sharenum;

    private Long thumbsupnum;

    private Long state;
    @Column(name = "create_time")
    private Date createTime;

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("StrategyCanal{");
        sb.append("id=").append(id);
        sb.append(", destId=").append(destId);
        sb.append(", destName='").append(destName).append('\'');
        sb.append(", themeId=").append(themeId);
        sb.append(", themeName='").append(themeName).append('\'');
        sb.append(", catalogId=").append(catalogId);
        sb.append(", catalogName='").append(catalogName).append('\'');
        sb.append(", title='").append(title).append('\'');
        sb.append(", subTitle='").append(subTitle).append('\'');
        sb.append(", summary='").append(summary).append('\'');
        sb.append(", coverUrl='").append(coverUrl).append('\'');
        sb.append(", isabroad=").append(isabroad);
        sb.append(", viewnum=").append(viewnum);
        sb.append(", replynum=").append(replynum);
        sb.append(", favornum=").append(favornum);
        sb.append(", sharenum=").append(sharenum);
        sb.append(", thumbsupnum=").append(thumbsupnum);
        sb.append(", state=").append(state);
        sb.append(", createTime=").append(createTime);
        sb.append('}');
        return sb.toString();
    }
}
